var mapperUtil = require('../../modules/sys/mapperUtil');

module.exports = {
    post: {
        exec: function (req, res) {
            mapperUtil.exec(req.routeData[0], req.routeData[1], req.form, function (err, data) {
                if (err) {
                    res.send(err);
                } else {
                    res.send(data);
                }
            });
        }
    }
};